package com.gxa.common.vo;

import io.swagger.annotations.ApiImplicitParam;
import io.swagger.annotations.ApiImplicitParams;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel("高级查询供应商信息")
public class ProviderSearch {
    @ApiModelProperty(name = "type",notes = "类型,公海或私海",dataType = "String")
    private Byte type;

    @ApiModelProperty(name = "status",notes = "供应商状态，是否有效 0有效，1失效，默认0",dataType = "String")
    private Byte status;

    @ApiModelProperty(name = "name",notes = "提供商名称",dataType = "String")
    private String name;

    @ApiModelProperty(name = "userId",notes = "供应商负责人",dataType = "String")
    private Integer userId;

    @ApiModelProperty(name = "startTime",notes = "起始时间",dataType = "String")
    private Date startTime;

    @ApiModelProperty(name = "endTime",notes = "截止时间",dataType = "String")
    private Date endTime;

    @ApiModelProperty(name = "currentPage",notes = "当前页码数默认第一页",dataType = "String")
    private Integer currentPage;

    @ApiModelProperty(name = "pageSize",notes = "每页显示记录数",dataType = "String")
    private  Integer pageSize;
}
